AssetWise CONNECT Edition Implementation Guide

SyncDocument 2000

The SyncDocument 2000 message is triggered once a document is approved in AssetWise, and the "OnApprovalStatusChanged" event has been defined, as in Event Subscription. The minimum required details on the document are all the mandatory metadata of the document as per AssetWise rules.

This topic describes the steps required to trigger this message for a single tag, and for multiple messages using a work order.

Follow these steps to create a single message:
  1. In AssetWise, create a new document.
  2. Enter all required metadata so that the document can be approved.
  3. You can add an electronic file, if it is required.
  4. You can add any attribute values to be included in the message. This will make attribute creation testing easier when testing the receive engine.
  5. Approve the document.
Follow these steps to create multiple messages using a work order:
  1. In AssetWise, create new work order.
  2. Create a new work task.
  3. Change the work task's class to the value defined for OnWorkTaskCompleted event. See Event Subscription for more details.
  4. Relate one or more approved documents to the work order.
    Note: All work order tags that are not approved are ignored.
  5. Approve and Accept the work order.
  6. Complete the work task.

If a work order was used, then a job is created to be processed for each approved document. Once the SyncDocument message(s) has been processed by the Interoperability service, it produces an XML object in the outgoing destination, as defined in Message Details.